﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../../js/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../js/GetValue.js" type="text/javascript"></script>
</head>
<body>
<table border="1px">
<tr  >
<td>根据控件表单ID取值：</td>
<td><input id="Text1" type="text" /></td><td><input id="Button1" type="button" onclick="GvlById('Text1')"  value="取值" /><input id="Button2"  type="button"  onclick="GetSouceCode(GvlById)" value="源代码" /></td>
</tr>
<tr>
<td rowspan="3">根据控件class取值：</td>
<td><input id="Text3" class="txt" type="text" /></td><td rowspan="3"><input id="Button5" type="button" onclick="GvlByClass('txt')" value="取值" /><input id="Button6" type="button" value="源代码" /></td>
</tr>
<tr>

<td><input id="Text2" class="txt" type="text" /></td>
</tr>
<tr>

<td><input id="Text4" class="txt" type="text" /></td>
</tr>

</table>



</body>
</html>
